<?php 
	// CSS
	//$this->headLink()->appendStylesheet('/css/heap.css','screen');
	// Javascript
	$this->headScript()->appendFile('/jquery-1.4.4.js', 'text/javascript');
	$this->headScript()->appendFile('/js/timer.js', 'text/javascript');
	$this->headScript()->appendFile('/js/mapNavigator.js', 'text/javascript');
?>
<script type="text/javascript" language="javascript">
	document.addEventListener('DOMContentLoaded', function(e)
	{
		window.map = new mapNavigator();
		$.ajax({
			dataType: 'json',
			type:'get',
			url: '/js/screens.json',
			error: function(xhr, error)
			{
				console.log(status);
				console.log(two);
			},
			success: function(data)
			{
				//console.dir(data);
				window.map.setMap(data.navmap);
			}
		});
	});
</script>